<div class="ratings view">
<h2><?php  __('Rating');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $rating['Rating']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Facultet'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($rating['Facultet']['name'], array('controller' => 'facultets', 'action' => 'view', $rating['Facultet']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Profession'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($rating['Profession']['name'], array('controller' => 'professions', 'action' => 'view', $rating['Profession']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Learningform'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($rating['Learningform']['name'], array('controller' => 'learningforms', 'action' => 'view', $rating['Learningform']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Learningtype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($rating['Learningtype']['name'], array('controller' => 'learningtypes', 'action' => 'view', $rating['Learningtype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Rating'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $rating['Rating']['rating']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Status'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $rating['Rating']['status']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Rating', true), array('action' => 'edit', $rating['Rating']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete Rating', true), array('action' => 'delete', $rating['Rating']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $rating['Rating']['id'])); ?> </li>
		<li><?php echo $html->link(__('List Ratings', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Rating', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Facultets', true), array('controller' => 'facultets', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Facultet', true), array('controller' => 'facultets', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Professions', true), array('controller' => 'professions', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Profession', true), array('controller' => 'professions', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Learningforms', true), array('controller' => 'learningforms', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Learningform', true), array('controller' => 'learningforms', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Learningtypes', true), array('controller' => 'learningtypes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Learningtype', true), array('controller' => 'learningtypes', 'action' => 'add')); ?> </li>
	</ul>
</div>
